package cn.ssm.model;

import java.sql.Timestamp;

/**
 * @Author ruanxin
 */
public class User {
    private Integer id;
    private String username;
    private String userpassword;
    private char gender;
    private Integer age;
    private String phone;

    private String address;
    private Timestamp birthdate;


   public User() {
   }

   public User(Integer id, String username, String userpassword, char gender, Integer age, String phone, String address, Timestamp birthdate) {
      this.id = id;
      this.username = username;
      this.userpassword = userpassword;
      this.gender = gender;
      this.age = age;
      this.phone = phone;
      this.address = address;
      this.birthdate = birthdate;
   }

   public Integer getId() {
      return id;
   }

   public void setId(Integer id) {
      this.id = id;
   }

   public String getUsername() {
      return username;
   }

   public void setUsername(String username) {
      this.username = username;
   }

   public String getUserpassword() {
      return userpassword;
   }

   public void setUserpassword(String userpassword) {
      this.userpassword = userpassword;
   }

   public char getGender() {
      return gender;
   }

   public void setGender(char gender) {
      this.gender = gender;
   }

   public Integer getAge() {
      return age;
   }

   public void setAge(Integer age) {
      this.age = age;
   }

   public String getPhone() {
      return phone;
   }

   public void setPhone(String phone) {
      this.phone = phone;
   }

   public String getAddress() {
      return address;
   }

   public void setAddress(String address) {
      this.address = address;
   }

   public Timestamp getBirthdate() {
      return birthdate;
   }

   public void setBirthdate(Timestamp birthdate) {
      this.birthdate = birthdate;
   }
}
